<?php
header ("Expires: 2007/06/08 05:00:00 ");    
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must-revalidate");  
header ("Pragma: no-cache");     
header('Content-Type: text/xml;charset=utf-8');
echo '<?xml version="1.0" encoding="utf-8" ?> ';
?>
<root>
	<status><![CDATA[Test]]></status>
	<exceptionInit><![CDATA[
		<?php include_once('../../common/init2.php');
			   include_once(DIR_CONTROL."ctl_main.php");
			   $objMain = new Ctl_Main($db);
		?>
		]]>
	</exceptionInit>
	<data><![CDATA[<?php $objMain->execute("");?>]]></data>
	<errorCount><![CDATA[<?=CM_countError()?>]]></errorCount>
	<errorMessage><![CDATA[<?= CM_showError()?>]]></errorMessage>';
	<exceptionEnd><![CDATA[<?php $db->close();?>]]></exceptionEnd>';
</root>
